function [ ] = plotConvergence( HAxis, errors, legends, formats )
%PLOTCONVERGENCE 

figure;
loglog([0.01 0.1],[0.0001 0.01], '-k ','LineWidth',2,'MarkerSize',10); hold on;
for c = 1 : size(errors,2);
    error = errors( : , c);
    loglog(HAxis, error, formats(c,:), 'LineWidth',2,'MarkerSize',10);
end;
legends = char('Reference', legends);
legend(legends);

hold off;

end

